<?php  

define("IN_ADMIN", TRUE);  

// Check the access rights  
include "auth.php";  

// Get the op parameter from the URL  
$op = $_GET["op"];  

// Select necessary action  
switch ($op)  
{  
        case "main" : include "main.php"; break;  
        case "delp" : include "delpost.php"; break;  
        case "editform" : include "editcommentform.php"; break;  
        case "edit" : include "editcomment.php"; break;  
        case "hide" : include "hide.php"; break;  
        case "show" : include "show.php"; break;  
        default :  include "main.php";  
}  
?>